From 90afeef2a50e017be593267c8420df410b2cef7f Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 26 Jun 2023 21:16:03 +0100 Subject: Add WASM code gen for call instruction with no args --- ...lang.compiler.testing.snapshots.Snapshotter)].expected | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenLocalLoadTests]/[method:localLoadCompilesToLocalGet(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenLocalLoadTests]/[method:localLoadCompilesToLocalGet(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenLocalLoadTests]/[method:localLoadCompilesToLocalGet(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index e47aa5cf..da1552f0 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenLocalLoadTests]/[method:localLoadCompilesToLocalGet(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.WasmCodeGenLocalLoadTests]/[method:localLoadCompilesToLocalGet(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -5,6 +5,9 @@ Section Details: Type[1]: - type[0] () -> nil +Import[2]: + - table[0] type=funcref initial=0 <- env.__indirect_function_table + - memory[0] pages: initial=0 <- env.__linear_memory Function[1]: - func[0] sig=0 Code[1]: @@ -22,9 +25,9 @@ Custom: Code Disassembly: -000026 func[0] : - 000027: 01 7f | local[0] type=i32 - 000029: 01 7f | local[1] type=i32 - 00002b: 01 7f | local[2] type=i32 - 00002d: 20 01 | local.get 1 - 00002f: 0b | end \ No newline at end of file +000066 func[0] : + 000067: 01 7f | local[0] type=i32 + 000069: 01 7f | local[1] type=i32 + 00006b: 01 7f | local[2] type=i32 + 00006d: 20 01 | local.get 1 + 00006f: 0b | end \ No newline at end of file -- cgit v1.2.3